<template>
	<view>
		<gjsSelectCity :scrollHeight="scrollHeight" @select="select"></gjsSelectCity>
	</view>
</template>

<script>
	import gjsSelectCity from '@/components/gjs-selectCity/gjs-selectCity.vue'
	export default {
		components: {
			gjsSelectCity
		},
		data() {
			return {
				scrollHeight: 800,
			}
		},
		onLoad() {
			this.scrollHeight = uni.getSystemInfoSync().windowHeight * 2
		},
		methods: {
			select(e) {
				console.log('选中的地区', e);
			}
		}
	}
</script>

<style>

</style>
